﻿namespace LeadMaster.Models
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.Collections.Generic;
    using System.Web.Mvc;

    public class Contacts
    {
        public Contacts()
        {
            LLN = false;
        }

        public int ContactID { get; set; }
        public string Forename { get; set; }
        public string Initials { get; set; }
        public string Surname { get; set; }

        [Display(Name = "Job Title")]
        public string Title { get; set; }

        [Display(Name="Company")]
        public int CompanyID { get; set; }
        public string Telephone { get; set; }
        public string Email { get; set; }

        [Display(Name="Telephone 2")]
        public string Tel2 { get; set; }

        [Display(Name = "Mobile 1")]
        public string Mobile1 { get; set; }

        [Display(Name = "Mobile 2")]
        public string Mobile2 { get; set; }

        public string DefaultTelephoneField { get; set; }

        [Display(Name = "Skype")]
        public string skype { get; set; }

        [Display(Name="LinkedIn")]
        public string linkedin { get; set; }

        [Display(Name="Google ID")]
        public string googleid { get; set; }

        [Display(Name = "Notes")]
        public string notes { get; set; }

        [Required]
        public int SalutationID { get; set; }

        public bool LLN { get; set; }

        public virtual Companies Company { get; set; }
        public virtual ICollection<Leads> Leads { get; set; }
    }
}